/*
 * Copyright (c) 2011-2013 Julien Nicoulaud <julien.nicoulaud@gmail.com>
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* Base elements */

#markdown-preview samp {
    font-size: small;
    font-family: Monospaced, monospace;
}

#markdown-preview kbd {
    font-size: small;
    font-family: Monospaced, monospace;
}

#markdown-preview strike {
    text-decoration: line-through;
}

#markdown-preview cite {
    font-style: italic;
}

#markdown-preview sub {
    vertical-align: sub;
}

#markdown-preview em {
    font-style: italic;
}

#markdown-preview sup {
    vertical-align: sup;
}

#markdown-preview u {
    text-decoration: underline;
}

#markdown-preview s {
    text-decoration: line-through;
}

#markdown-preview address {
    color: blue;
    font-style: italic;
}

#markdown-preview b {
    font-weight: bold;
}

#markdown-preview i {
    font-style: italic;
}

#markdown-preview var {
    font-weight: bold;
    font-style: italic;
}

#markdown-preview dfn {
    font-style: italic;
}

#markdown-preview dt {
    margin-top: 0;
    margin-bottom: 0;
}

#markdown-preview dl {
    margin-left: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

#markdown-preview tt {
    font-family: Monospaced, monospace;
}

#markdown-preview {
    background-color: #ffffff;
    padding-left: 10px;
    padding-right: 10px;
    color: black;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
}

#markdown-preview small {
    font-size: x-small;
}

#markdown-preview big {
    font-size: x-large;
}

#markdown-preview a {
    color: blue;
    text-decoration: underline;
}

#markdown-preview p {
    margin-top: 15px;
}

#markdown-preview strong {
    font-weight: bold;
}

#markdown-preview center {
    text-align: center;
}

#markdown-preview dd {
    margin-right-rtl: 40px;
    margin-top: 0;
    margin-left-ltr: 40px;
    margin-bottom: 0;
}

#markdown-preview dd p {
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* Headers */

#markdown-preview h1 {
    font-size: x-large;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 0;
}

#markdown-preview h2 {
    font-size: large;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 0;
}

#markdown-preview h3 {
    font-size: medium;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 0;
}

#markdown-preview h4 {
    font-size: small;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 0;
}

#markdown-preview h5 {
    font-size: small;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 0;
}

#markdown-preview h6 {
    font-size: small;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 0;
}

/* Code/quotes */

#markdown-preview pre {
    font-family: Monospaced, monospace;
    margin: 5px 10px;
    padding: 5px;
    background-color: #dcdcdc;
}

#markdown-preview pre p {
    margin-top: 0;
}

#markdown-preview code {
    font-size: small;
    font-family: Monospaced, monospace;
    background-color: #dcdcdc;
}

#markdown-preview blockquote {
    margin: 5px 10px;
    padding: 5px;
    background-color: #dcdcdc;
}

/* Lists */

#markdown-preview ul {
    margin-right-rtl: 20px;
    margin-left-ltr: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    list-style-type: disc;
}

#markdown-preview ul li {
    margin: 0;
}

#markdown-preview ul li ul {
    margin-right-rtl: 25px;
    margin-left-ltr: 25px;
    list-style-type: circle;
}

#markdown-preview ul li ul li {
    margin: 0;
}

#markdown-preview ul li ul li ul {
    margin-right-rtl: 25px;
    margin-left-ltr: 25px;
    list-style-type: square;
}

#markdown-preview ul li ul li ul li {
    margin: 0;
}

#markdown-preview ol {
    margin-right-rtl: 20px;
    margin-left-ltr: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    list-style-type: decimal;
}

#markdown-preview ol li {
    margin: 0;
}

#markdown-preview li p {
    margin-top: 0;
    margin-bottom: 0;
}

/* Tables */

#markdown-preview table {
    border-style: solid;
    border-width: 2px;
    border-color: gray;
}

#markdown-preview td {
    border-style: solid;
    border-width: 1px;
    border-color: gray;
    padding: 3px;
}

#markdown-preview tr {
    text-align: left;
}

#markdown-preview td p {
    margin-top: 0;
}

#markdown-preview th {
    border-style: solid;
    border-width: 1px;
    border-color: gray;
    padding: 3px;
    text-align: center;
    font-weight: bold;
}

#markdown-preview caption {
    caption-side: top;
    text-align: center;
}

#markdown-preview del {
    text-decoration: line-through;
}

#markdown-preview p del {
    text-decoration: line-through;
}
